#ifndef _SoundFile_H_
#define _SoundFile_H_

#include <gccore.h>

#include "common.h"

using namespace Common;

class SoundFile {
	public:
		SoundFile(Sound::Type type);
		~SoundFile();
		
		void Init(unsigned char* snd_data, int size, Format::Type format);
		
		unsigned char* GetSoundData(){return _sndData;}
		int GetSoundSize(){return _sndSize;}

		Format::Type GetFormat(){return _format;}

		Sound::Type GetType(){return _type;}
	private:
		unsigned char* _sndData;
                int _sndSize;
		Sound::Type _type;
                Format::Type _format;
};

#endif //_SoundFile_H_

